package com.zj.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("sys_oper_log")
@ApiModel(value="日志记录对象", description="日志记录表")
public class SysOperLog {
  @TableId(value = "oper_id", type = IdType.AUTO)
  @ApiModelProperty(value = "日志ID")
  private Integer operId;
  @ApiModelProperty(value = "模块标题")
  private String title;
  @ApiModelProperty(value = "业务类型（0其他 1新增 2修改 3删除）")
  private long businessType;
  @ApiModelProperty(value = "方法名称")
  private String method;
  @ApiModelProperty(value = "操作类别（0其他 1后台用户 2手机端用户）")
  private Integer operatorType;
  @ApiModelProperty(value = "操作人员")
  private String operName;
  @ApiModelProperty(value = "部门名称")
  private String deptName;
  @ApiModelProperty(value = "请求URL")
  private String operUrl;
  @ApiModelProperty(value = "主机地址")
  private String operIp;
  @ApiModelProperty(value = "操作地点")
  private String operLocation;
  @ApiModelProperty(value = "请求参数")
  private String operParam;
  @ApiModelProperty(value = "操作状态（0正常 1异常）")
  private Integer status;
  @ApiModelProperty(value = "错误信息")
  private String errorMsg;
  @ApiModelProperty(value = "操作时间")
  private String operTime;


}
